<?php

namespace app\api\controller;

use app\common\model\Company;

class CompanyController
{
    
    public function list()
    {
        return apiSuccess(data: Company::select()->toArray());
    }
    
}